package com.huangliusong.api.user;

import com.huangliusong.api.user.VO.UserInfoModel;
import com.huangliusong.api.user.VO.UserModel;

/**
 * @author huangliusong
 * @since 2019/1/8
 * {@link }
 */
public interface UserAPI {
     int login(String username, String password) ;

     boolean register(UserModel userModel);

     boolean checkUsername(String username);

     boolean logout();

     UserInfoModel getUserInfo(int uuid);

     UserInfoModel updateUserInfo(UserInfoModel userInfoModel);


}
